package com.ep.entity;

import java.util.List;

public class Personnel {
    private Integer pId;

    private String pName;
    
    private String pPswd;
    
    private List<Personnel> personnels;

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public String getpPswd() {
		return pPswd;
	}

	public void setpPswd(String pPswd) {
		this.pPswd = pPswd;
	}

	public List<Personnel> getPersonnels() {
		return personnels;
	}

	public void setPersonnels(List<Personnel> personnels) {
		this.personnels = personnels;
	}

	@Override
	public String toString() {
		return "Personnel [pId=" + pId + ", pName=" + pName + ", pPswd=" + pPswd + ", personnels=" + personnels + "]";
	}

	
    
}